package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillApprovalCostSettlementItem;
import com.open.capacity.reimburse.entity.BillDirectSettlementItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
/**
 * 直接报销单-结算方式-明细
 * 
 * @author 
 * @email 
 * @date 2023-12-21 15:20:30
 */
@Mapper
public interface BillApprovalCostSettlementItemDao  {

    int save(BillApprovalCostSettlementItem billApprovalCostSettlementItem);

    int update(BillApprovalCostSettlementItem billApprovalCostSettlementItem);

    int delete(String id);

    int deleteByBillId(String billId);

    BillApprovalCostSettlementItem findById(String id);

    List<BillApprovalCostSettlementItem> findBySettlementId(String settlementId);

    List<BillApprovalCostSettlementItem> findAll(Map<String, Object> params);

}
